package com.foreveross.taskservice.infra.cfg.taskservice;

import com.foreveross.taskservice.infra.cfg.PropertiesConfigLocalLoader;

public class TaskServicePropertiesLoader extends PropertiesConfigLocalLoader{
	public final static String FILE_NAME="META-INF/props/taskservice.properties";
	public final static String TASKSERVICE_TASK_GETTEMPLATE_SIZE="taskservice.task.gettemplatesize";
	public final static String TASKSERVICE_TASK_TIMEOUT="taskservice.task.timeout.expire";
	public final static String TASKSERVICE_MQ_QUEUEE_MAXSIZE="taskservice.mq.queue.maxsize";
	public final static String TASKSERVICE_MQ_ROLLBACK_MAXSIZE="taskservice.mq.rollback.maxsize";
	public final static String TASKSERVICE_TASK_COMPENSATION_MAXSIZE="taskservice.task.compensation.maxsize";
	public final static String TASKSERVICE_CACHE_WAIT_MAXSIZE="taskservice.cache.wait.maxsize";
	public final static String TASKSERVICE_CACHE_LOCK_WAIT_MAXEXPIRE="taskservice.cache.lock.wait.maxExpire";
	public final static String TASKSERVICE_CACHE_LOCK_LOCKED_MAXEXPIRE="taskservice.cache.lock.locked.maxExpire";
	public final static String TASKSERVICE_CACHE_QUERY_CACHERESULTEXIST_MAXEXPIRE="taskservice.cache.query.cacheResultExist.maxExpire";
	public final static String TASKSERVICE_INITSTARTUP_CLEAR_TASKS = "taskservice.startup.tasks.clear";
	
	@Override
	public String getFileName() {
		return FILE_NAME;
	}
	
}
